package com.ms.demo;

/**
 * @description: 具体状态类  开始状态
 * @author: ms
 * @create: 2022-10-27 17:38
 */
public class StartState implements State {

    public void doAction(Context context) {
        System.out.println("开始播放");
        context.setState(this);
    }

    public String toString() {
        return "Start State";
    }
}